"use strict";
const utils_requestBase = require("../../utils/requestBase.js");
function policeStatusStat() {
  return utils_requestBase.request.get({
    url: "/police-user/selectDutyCount"
  });
}
function allPoliceOfCommunity(data) {
  return utils_requestBase.request.get({
    url: "/police-user/selectAll",
    data
  });
}
function policeListByCommunityId(data) {
  return utils_requestBase.request.get({
    url: "/police-user/selectListByCommunityId",
    data
  });
}
function selectIndexPoliceUser(data) {
  return utils_requestBase.request.get({
    url: "/police-index/selectIndexPoliceUser",
    data
  });
}
function getNoReadCount(data) {
  return utils_requestBase.request.get({
    url: "/police-index/getNoReadCount",
    data
  });
}
function setPoliceStatus(data) {
  return utils_requestBase.request.put({
    url: "/police-index/updateDutyStatus",
    data
  });
}
function getPoliceClockTip(data) {
  return utils_requestBase.request.get({
    url: "/police-index/punchPromot",
    data
  });
}
exports.allPoliceOfCommunity = allPoliceOfCommunity;
exports.getNoReadCount = getNoReadCount;
exports.getPoliceClockTip = getPoliceClockTip;
exports.policeListByCommunityId = policeListByCommunityId;
exports.policeStatusStat = policeStatusStat;
exports.selectIndexPoliceUser = selectIndexPoliceUser;
exports.setPoliceStatus = setPoliceStatus;
